package com.stormrage.entity.exam.req;

import java.io.Serializable;

public class ExmRelateCountReq implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 6819997493884347904L;

	// ------------------------------- Fields -------------------------------

	private Integer termId;

	private Integer relateId;

	private Integer type;

	// ------------------------------- Fields -------------------------------

	public ExmRelateCountReq() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getTermId() {
		return termId;
	}

	public void setTermId(Integer termId) {
		this.termId = termId;
	}

	public Integer getRelateId() {
		return relateId;
	}

	public void setRelateId(Integer relateId) {
		this.relateId = relateId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	// ------------------------------- Fields -------------------------------

	public static ExmRelateCountReq instance(Integer termId, Integer relateId, Integer type) {
		ExmRelateCountReq entity = new ExmRelateCountReq();
		entity.setTermId(termId);
		entity.setRelateId(relateId);
		entity.setType(type);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : termId - " + termId + " relateId - " + relateId + " type - " + type;
	}

}
